#ifndef MDS_ARRAYS_INCLUDED
#define MDS_ARRAYS_INCLUDED 1

#include "../types.h"

void *mds_array1d_create( size_t n, size_t width );
void  mds_array1d_delete( void *p, size_t n, size_t width );

void **mds_array2d_create( size_t r, size_t c, size_t width );
void   mds_array2d_delete( void **p, size_t r, size_t c, size_t width );

void ***mds_array3d_create( size_t r, size_t c, size_t d, size_t width );
void    mds_array3d_delete( void ***p, size_t r, size_t c, size_t d, size_t width );

#endif
